package com.designpattern.structure.adapter.classadapter;

/**
 * @author Administration
 * @date 2021/10/15 - 16:13 - 星期五
 * @project lambda
 * @package com.designpattern.structure.adapter.classadapter
 * @by 晨
 */
public class test {
    public static void main(String[] args) {
        Computer computer = new Computer();
        SDCard sdCard = new SDCardImpl();
        System.out.println(computer.readSD(sdCard));

        System.out.println("------------");

        SDAdapterTF sdAdapterTF = new SDAdapterTF();
        System.out.println(computer.readSD(sdAdapterTF));
    }
}
